﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WLWZGao6.Domain.Common;
using WLWZGao6.Domain.Model;
using WLWZGao6.Domain.Dto;

namespace WLWZGao6.Domain.IRepository
{
    public interface IUserRepository
    {
        //用户登录
        public EData Login(UserLoginDto user);
        //用户添加
        public EData UserAdd(User user);
        //用户删除
        public EData UserDel(int Ids);
        //用户查询显示
        public EData UserShow(string Name);
        //用户修改
        public EData UserUpd(int Ids, User user);
        //用户添加角色
        public EData UserRoleAdd(int Ids,string roleId);
    }
}
